

# 推送时 打标签 
git tag -a v1.0.3 -m "版本描述信息2" && git push --tags
 
      
# 获取远程最新标签
git ls-remote --tags  origin| grep -v '\^{}' | awk -F/ '{print $3}' | sort -V | tail -1
git ls-remote --tags https://gitee.com/yuan_hp/work-files.git | grep -v '\^{}' | awk -F/ '{print $3}' | sort -V | tail -1

# 获取本地版本 
cat version.txt  2>/dev/null || echo "0.0.0"


https://gitee.com/yuan_hp/page/raw/master

https://gitee.com/api/v5/repos/${OWNER}/${REPO}/contents/${path}?ref=${BRANCH}

https://gitee.com/api/v5/repos/yuan_hp/work-files/contents/